import { EnumFactory} from './EnumFactory'; 
export default class CommonEnumFactory extends EnumFactory{ 


  /***/ 
  static BaseEnum_ResultStat:BaseEnum_ResultStat={
    SUCCESS:{code:0,value:"操作成功",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    FAIL:{code:1,value:"操作失败",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    ERROR_PARAM:{code:2,value:"请求参数错误!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==2}, 
    NO_FILTER_DATA:{code:3,value:"没有找到匹配的结果!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==3}, 
    DATA_VERNO_ERROR:{code:4,value:"数据版本号错误!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==4}, 
    UNLOGIN:{code:5,value:"未登录!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==5}, 
    NOSERVICE:{code:6,value:"无服务响应!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==6}, 
    UNKNOWN:{code:8,value:"未知错误!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==8}, 
    DUP_LOGIN:{code:9,value:"该账号在其他地方登录了!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==9}, 
    IS_LOCKED:{code:10,value:"系统正在执行数据同步操作,请稍后再试!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==10}, 
    UNDEFINED_ENUM:{code:11,value:"未定义的枚举类型!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==11}, 
    TOKEN_IS_NULL:{code:12,value:"token为空!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==12}, 
    INVALID_TOKEN:{code:13,value:"无效的token!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==13}, 
    NO_PERMISSION:{code:14,value:"访问权限不足,请联系管理员分配!",equals:(statusObj:EnumStruct<object>)=>statusObj.code==14}, 
}


  /**增删改操作类型*/ 
  static BaseEnum_OperType:BaseEnum_OperType={
    NO_UPD:{code:0,value:"无变更",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    DELETE:{code:1,value:"删除",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    INSERT:{code:2,value:"新增",equals:(statusObj:EnumStruct<object>)=>statusObj.code==2}, 
    UPDATE:{code:3,value:"修改",equals:(statusObj:EnumStruct<object>)=>statusObj.code==3}, 
    UNKNOWN:{code:-1,value:"未知状态",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


}